centering with flexbox

76

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.parent{
	display: flex;
    justify-content: center;  /* Center Horizontally */
    align-items: center;      /* Center Vertically */
    
}

Comments

Submit
0 Comments